var mongoose=require('mongoose')
var db=mongoose.connect('mongodb://localhost:27017/bxb')

exports.mongoose=mongoose
exports.db=db